package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtXm;
import com.tfswx.jcyw.ruleenginedesigner.dto.xmgl.XmListByRybmQueryOutputDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/5/11
 */
@Mapper
public interface GzyqXtXmMapper {
    /**
     * insert record to table
     * @param gzyqXtXm the gzyqXtXm
     * @return insert count
     */
    int insert(GzyqXtXm gzyqXtXm);

    List<XmListByRybmQueryOutputDTO> queryXmListByRybm(GzyqXtXm gzyqXtXm);

    int delete(GzyqXtXm gzyqXtXm);

    int undelete(GzyqXtXm gzyqXtXm);

    int update(GzyqXtXm gzyqXtXm);

    GzyqXtXm queryXmByXmbm(GzyqXtXm gzyqXtXm);
}
